package com.cw.frame.codegen.engine;

import com.cw.frame.codegen.parameter.ParamBundle;

/**
 * Define the template engine.
 *
 * @author chenw
 */
public interface TemplateEngine {

    /**
     * Generate source file according to the context.
     *
     * @param paramBundle
     * @param templateName
     * @param targetFilePath
     */
    void process(ParamBundle paramBundle, String templateName, String targetFilePath) throws Exception;
}
